home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 4.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 33 3a 30 35 20 31 | 39 39 38 0a 3b 3b 3b 20 |:53:05 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 70 61 63 6b |s-20.3/l|isp/pack|
|000000a0| 61 67 65 73 2f 6c 65 64 | 69 74 2e 65 6c 0a 3b 3b |ages/led|it.el.;;|
|000000b0| 3b 20 65 6d 61 63 73 20 | 76 65 72 73 69 6f 6e 20 |; emacs |version |
|000000c0| 32 30 2e 34 20 22 45 6d | 65 72 61 6c 64 22 20 58 |20.4 "Em|erald" X|
|000000d0| 45 6d 61 63 73 20 20 4c | 75 63 69 64 2e 0a 3b 3b |Emacs L|ucid..;;|
|000000e0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000f0| 6f 6e 20 32 2e 32 35 20 | 58 45 6d 61 63 73 3b 20 |on 2.25 |XEmacs; |
|00000100| 32 32 2d 4d 61 72 2d 39 | 36 2e 0a 3b 3b 3b 20 6f |22-Mar-9|6..;;; o|
|00000110| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|00000120| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|00000130| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|00000140| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000150| 20 69 6e 20 45 6d 61 63 | 73 20 31 39 2e 0a 0a 28 | in Emac|s 19...(|
|00000160| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000170| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000180| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000190| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|000001a0| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|000001b0| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|000001c0| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|000001d0| 72 73 69 6f 6e 20 22 32 | 30 22 29 29 29 0a 20 20 |rsion "2|0"))). |
|000001e0| 20 20 28 65 72 72 6f 72 | 20 22 60 6c 65 64 69 74 | (error| "`ledit|
|000001f0| 2e 65 6c 27 20 77 61 73 | 20 63 6f 6d 70 69 6c 65 |.el' was| compile|
|00000200| 64 20 66 6f 72 20 45 6d | 61 63 73 20 32 30 22 29 |d for Em|acs 20")|
|00000210| 29 0a 0a 28 6f 72 20 28 | 62 6f 75 6e 64 70 20 27 |)..(or (|boundp '|
|00000220| 63 75 72 72 65 6e 74 2d | 6c 6f 61 64 2d 6c 69 73 |current-|load-lis|
|00000230| 74 29 20 28 73 65 74 71 | 20 63 75 72 72 65 6e 74 |t) (setq| current|
|00000240| 2d 6c 6f 61 64 2d 6c 69 | 73 74 20 6e 69 6c 29 29 |-load-li|st nil))|
|00000250| 0a 0a 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |...(byte|-code ".|
|00000260| c1 21 ac 82 c2 11 c1 0b | 42 13 c2 87 22 20 5b 62 |.!......|B..." [b|
|00000270| 6f 75 6e 64 70 20 6c 65 | 64 69 74 2d 6d 6f 64 65 |oundp le|dit-mode|
|00000280| 2d 6d 61 70 20 6e 69 6c | 20 63 75 72 72 65 6e 74 |-map nil| current|
|00000290| 2d 6c 6f 61 64 2d 6c 69 | 73 74 5d 20 32 29 0a 23 |-load-li|st] 2).#|
|000002a0| 40 34 33 20 46 69 6c 65 | 20 6e 61 6d 65 20 66 6f |@43 File| name fo|
|000002b0| 72 20 64 61 74 61 20 73 | 65 6e 74 20 74 6f 20 4c |r data s|ent to L|
|000002c0| 69 73 70 20 62 79 20 4c | 65 64 69 74 2e 1f 0a 28 |isp by L|edit...(|
|000002d0| 64 65 66 63 6f 6e 73 74 | 20 6c 65 64 69 74 2d 7a |defconst| ledit-z|
|000002e0| 61 70 2d 66 69 6c 65 20 | 28 62 79 74 65 2d 63 6f |ap-file |(byte-co|
|000002f0| 64 65 20 22 c0 c1 20 c2 | 51 87 22 20 5b 22 2f 74 |de ".. .|Q." ["/t|
|00000300| 6d 70 2f 22 20 75 73 65 | 72 2d 6c 6f 67 69 6e 2d |mp/" use|r-login-|
|00000310| 6e 61 6d 65 20 22 2e 6c | 31 22 5d 20 33 29 20 28 |name ".l|1"] 3) (|
|00000320| 23 24 20 2e 20 36 37 36 | 29 29 0a 23 40 34 33 20 |#$ . 676|)).#@43 |
|00000330| 46 69 6c 65 20 6e 61 6d | 65 20 66 6f 72 20 64 61 |File nam|e for da|
|00000340| 74 61 20 73 65 6e 74 20 | 74 6f 20 4c 65 64 69 74 |ta sent |to Ledit|
|00000350| 20 62 79 20 4c 69 73 70 | 2e 1f 0a 28 64 65 66 63 | by Lisp|...(defc|
|00000360| 6f 6e 73 74 20 6c 65 64 | 69 74 2d 72 65 61 64 2d |onst led|it-read-|
|00000370| 66 69 6c 65 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |file (by|te-code |
|00000380| 22 c0 c1 20 c2 51 87 22 | 20 5b 22 2f 74 6d 70 2f |".. .Q."| ["/tmp/|
|00000390| 22 20 75 73 65 72 2d 6c | 6f 67 69 6e 2d 6e 61 6d |" user-l|ogin-nam|
|000003a0| 65 20 22 2e 6c 32 22 5d | 20 33 29 20 28 23 24 20 |e ".l2"]| 3) (#$ |
|000003b0| 2e 20 38 31 36 29 29 0a | 23 40 35 32 20 46 69 6c |. 816)).|#@52 Fil|
|000003c0| 65 20 6e 61 6d 65 20 66 | 6f 72 20 64 61 74 61 20 |e name f|or data |
|000003d0| 73 65 6e 74 20 74 6f 20 | 4c 69 73 70 20 63 6f 6d |sent to |Lisp com|
|000003e0| 70 69 6c 65 72 20 62 79 | 20 4c 65 64 69 74 2e 1f |piler by| Ledit..|
|000003f0| 0a 28 64 65 66 63 6f 6e | 73 74 20 6c 65 64 69 74 |.(defcon|st ledit|
|00000400| 2d 63 6f 6d 70 69 6c 65 | 2d 66 69 6c 65 20 28 62 |-compile|-file (b|
|00000410| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 20 c2 51 87 |yte-code| ".. .Q.|
|00000420| 22 20 5b 22 2f 74 6d 70 | 2f 22 20 75 73 65 72 2d |" ["/tmp|/" user-|
|00000430| 6c 6f 67 69 6e 2d 6e 61 | 6d 65 20 22 2e 6c 34 22 |login-na|me ".l4"|
|00000440| 5d 20 33 29 20 28 23 24 | 20 2e 20 39 35 37 29 29 |] 3) (#$| . 957))|
|00000450| 0a 23 40 36 35 20 4e 61 | 6d 65 20 6f 66 20 62 75 |.#@65 Na|me of bu|
|00000460| 66 66 65 72 20 69 6e 20 | 77 68 69 63 68 20 4c 65 |ffer in |which Le|
|00000470| 64 69 74 20 61 63 63 75 | 6d 75 6c 61 74 65 73 20 |dit accu|mulates |
|00000480| 64 61 74 61 20 74 6f 20 | 73 65 6e 64 20 74 6f 20 |data to |send to |
|00000490| 4c 69 73 70 2e 1f 0a 28 | 64 65 66 63 6f 6e 73 74 |Lisp...(|defconst|
|000004a0| 20 6c 65 64 69 74 2d 62 | 75 66 66 65 72 20 22 2a | ledit-b|uffer "*|
|000004b0| 4c 45 44 49 54 2a 22 20 | 28 23 24 20 2e 20 31 31 |LEDIT*" |(#$ . 11|
|000004c0| 31 30 29 29 0a 23 40 36 | 39 20 2a 4e 6f 6e 2d 6e |10)).#@6|9 *Non-n|
|000004d0| 69 6c 20 6d 65 61 6e 73 | 20 4c 65 64 69 74 20 73 |il means| Ledit s|
|000004e0| 68 6f 75 6c 64 20 73 61 | 76 65 20 66 69 6c 65 73 |hould sa|ve files|
|000004f0| 20 62 65 66 6f 72 65 20 | 74 72 61 6e 73 66 65 72 | before |transfer|
|00000500| 72 69 6e 67 20 74 6f 20 | 4c 69 73 70 2e 1f 0a 28 |ring to |Lisp...(|
|00000510| 64 65 66 63 6f 6e 73 74 | 20 6c 65 64 69 74 2d 73 |defconst| ledit-s|
|00000520| 61 76 65 2d 66 69 6c 65 | 73 20 74 20 28 23 24 20 |ave-file|s t (#$ |
|00000530| 2e 20 2d 31 32 32 36 29 | 29 0a 23 40 34 38 20 2a |. -1226)|).#@48 *|
|00000540| 53 68 65 6c 6c 20 63 6f | 6d 6d 61 6e 64 73 20 74 |Shell co|mmands t|
|00000550| 6f 20 65 78 65 63 75 74 | 65 20 74 6f 20 72 65 73 |o execut|e to res|
|00000560| 75 6d 65 20 4c 69 73 70 | 20 6a 6f 62 2e 1f 0a 28 |ume Lisp| job...(|
|00000570| 64 65 66 63 6f 6e 73 74 | 20 6c 65 64 69 74 2d 67 |defconst| ledit-g|
|00000580| 6f 2d 74 6f 2d 6c 69 73 | 70 2d 73 74 72 69 6e 67 |o-to-lis|p-string|
|00000590| 20 22 25 3f 6c 69 73 70 | 22 20 28 23 24 20 2e 20 | "%?lisp|" (#$ . |
|000005a0| 2d 31 33 34 33 29 29 0a | 23 40 35 37 20 2a 53 68 |-1343)).|#@57 *Sh|
|000005b0| 65 6c 6c 20 63 6f 6d 6d | 61 6e 64 73 20 74 6f 20 |ell comm|ands to |
|000005c0| 65 78 65 63 75 74 65 20 | 74 6f 20 72 65 73 75 6d |execute |to resum|
|000005d0| 65 20 4c 69 73 70 20 63 | 6f 6d 70 69 6c 65 72 20 |e Lisp c|ompiler |
|000005e0| 6a 6f 62 2e 1f 0a 28 64 | 65 66 63 6f 6e 73 74 20 |job...(d|efconst |
|000005f0| 6c 65 64 69 74 2d 67 6f | 2d 74 6f 2d 6c 69 73 7a |ledit-go|-to-lisz|
|00000600| 74 2d 73 74 72 69 6e 67 | 20 22 25 3f 6c 69 73 7a |t-string| "%?lisz|
|00000610| 74 22 20 28 23 24 20 2e | 20 2d 31 34 35 33 29 29 |t" (#$ .| -1453))|
|00000620| 0a 23 40 34 34 20 53 61 | 76 65 20 74 68 65 20 63 |.#@44 Sa|ve the c|
|00000630| 75 72 72 65 6e 74 20 64 | 65 66 75 6e 20 69 6e 20 |urrent d|efun in |
|00000640| 74 68 65 20 6c 65 64 69 | 74 20 62 75 66 66 65 72 |the ledi|t buffer|
|00000650| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 65 64 |..(defal|ias 'led|
|00000660| 69 74 2d 73 61 76 65 2d | 64 65 66 75 6e 20 23 5b |it-save-|defun #[|
|00000670| 6e 69 6c 20 22 8a c0 20 | 88 60 19 c2 20 88 c3 0c |nil ".. |.`.. ...|
|00000680| 60 09 23 88 29 c5 c6 21 | 29 87 22 20 5b 65 6e 64 |`.#.)..!|)." [end|
|00000690| 2d 6f 66 2d 64 65 66 75 | 6e 20 65 6e 64 20 62 65 |-of-defu|n end be|
|000006a0| 67 69 6e 6e 69 6e 67 2d | 6f 66 2d 64 65 66 75 6e |ginning-|of-defun|
|000006b0| 20 61 70 70 65 6e 64 2d | 74 6f 2d 62 75 66 66 65 | append-|to-buffe|
|000006c0| 72 20 6c 65 64 69 74 2d | 62 75 66 66 65 72 20 6d |r ledit-|buffer m|
|000006d0| 65 73 73 61 67 65 20 22 | 43 75 72 72 65 6e 74 20 |essage "|Current |
|000006e0| 64 65 66 75 6e 20 73 61 | 76 65 64 20 66 6f 72 20 |defun sa|ved for |
|000006f0| 4c 69 73 70 22 5d 20 34 | 20 28 23 24 20 2e 20 31 |Lisp"] 4| (#$ . 1|
|00000700| 35 37 34 29 20 6e 69 6c | 5d 29 0a 23 40 34 35 20 |574) nil|]).#@45 |
|00000710| 53 61 76 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |Save the| current|
|00000720| 20 72 65 67 69 6f 6e 20 | 69 6e 20 74 68 65 20 6c | region |in the l|
|00000730| 65 64 69 74 20 62 75 66 | 66 65 72 1f 0a 28 64 65 |edit buf|fer..(de|
|00000740| 66 61 6c 69 61 73 20 27 | 6c 65 64 69 74 2d 73 61 |falias '|ledit-sa|
|00000750| 76 65 2d 72 65 67 69 6f | 6e 20 23 5b 28 62 65 67 |ve-regio|n #[(beg|
|00000760| 20 65 6e 64 29 20 22 c0 | 09 5c 6e 0b 23 88 c4 c5 | end) ".|.\n.#...|
|00000770| 21 87 22 20 5b 61 70 70 | 65 6e 64 2d 74 6f 2d 62 |!." [app|end-to-b|
|00000780| 75 66 66 65 72 20 6c 65 | 64 69 74 2d 62 75 66 66 |uffer le|dit-buff|
|00000790| 65 72 20 62 65 67 20 65 | 6e 64 20 6d 65 73 73 61 |er beg e|nd messa|
|000007a0| 67 65 20 22 52 65 67 69 | 6f 6e 20 73 61 76 65 64 |ge "Regi|on saved|
|000007b0| 20 66 6f 72 20 4c 69 73 | 70 22 5d 20 34 20 28 23 | for Lis|p"] 4 (#|
|000007c0| 24 20 2e 20 31 38 30 38 | 29 20 22 72 22 5d 29 0a |$ . 1808|) "r"]).|
|000007d0| 23 40 33 34 20 43 61 72 | 72 79 20 74 68 65 20 63 |#@34 Car|ry the c|
|000007e0| 75 72 72 65 6e 74 20 64 | 65 66 75 6e 20 74 6f 20 |urrent d|efun to |
|000007f0| 4c 69 73 70 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |Lisp...(|defalias|
|00000800| 20 27 6c 65 64 69 74 2d | 7a 61 70 2d 64 65 66 75 | 'ledit-|zap-defu|
|00000810| 6e 2d 74 6f 2d 6c 69 73 | 70 20 23 5b 6e 69 6c 20 |n-to-lis|p #[nil |
|00000820| 22 c0 20 88 c1 20 87 22 | 20 5b 6c 65 64 69 74 2d |". .. ."| [ledit-|
|00000830| 73 61 76 65 2d 64 65 66 | 75 6e 20 6c 65 64 69 74 |save-def|un ledit|
|00000840| 2d 67 6f 2d 74 6f 2d 6c | 69 73 70 5d 20 31 20 28 |-go-to-l|isp] 1 (|
|00000850| 23 24 20 2e 20 32 30 30 | 35 29 20 6e 69 6c 5d 29 |#$ . 200|5) nil])|
|00000860| 0a 23 40 33 35 20 43 61 | 72 72 79 20 74 68 65 20 |.#@35 Ca|rry the |
|00000870| 63 75 72 72 65 6e 74 20 | 64 65 66 75 6e 20 74 6f |current |defun to|
|00000880| 20 6c 69 73 7a 74 2e 1f | 0a 28 64 65 66 61 6c 69 | liszt..|.(defali|
|00000890| 61 73 20 27 6c 65 64 69 | 74 2d 7a 61 70 2d 64 65 |as 'ledi|t-zap-de|
|000008a0| 66 75 6e 2d 74 6f 2d 6c | 69 73 7a 74 20 23 5b 6e |fun-to-l|iszt #[n|
|000008b0| 69 6c 20 22 c0 20 88 c1 | 20 87 22 20 5b 6c 65 64 |il ". ..| ." [led|
|000008c0| 69 74 2d 73 61 76 65 2d | 64 65 66 75 6e 20 6c 65 |it-save-|defun le|
|000008d0| 64 69 74 2d 67 6f 2d 74 | 6f 2d 6c 69 73 7a 74 5d |dit-go-t|o-liszt]|
|000008e0| 20 31 20 28 23 24 20 2e | 20 32 31 35 30 29 20 6e | 1 (#$ .| 2150) n|
|000008f0| 69 6c 5d 29 0a 23 40 33 | 35 20 43 61 72 72 79 20 |il]).#@3|5 Carry |
|00000900| 74 68 65 20 63 75 72 72 | 65 6e 74 20 72 65 67 69 |the curr|ent regi|
|00000910| 6f 6e 20 74 6f 20 4c 69 | 73 70 2e 1f 0a 28 64 65 |on to Li|sp...(de|
|00000920| 66 61 6c 69 61 73 20 27 | 6c 65 64 69 74 2d 7a 61 |falias '|ledit-za|
|00000930| 70 2d 72 65 67 69 6f 6e | 2d 74 6f 2d 6c 69 73 70 |p-region|-to-lisp|
|00000940| 20 23 5b 28 62 65 67 20 | 65 6e 64 29 20 22 c0 09 | #[(beg |end) "..|
|00000950| 5c 6e 5c 22 88 c3 20 87 | 22 20 5b 6c 65 64 69 74 |\n\".. .|" [ledit|
|00000960| 2d 73 61 76 65 2d 72 65 | 67 69 6f 6e 20 62 65 67 |-save-re|gion beg|
|00000970| 20 65 6e 64 20 6c 65 64 | 69 74 2d 67 6f 2d 74 6f | end led|it-go-to|
|00000980| 2d 6c 69 73 70 5d 20 33 | 20 28 23 24 20 2e 20 32 |-lisp] 3| (#$ . 2|
|00000990| 32 39 38 29 20 22 72 22 | 5d 29 0a 23 40 34 37 20 |298) "r"|]).#@47 |
|000009a0| 53 75 73 70 65 6e 64 20 | 45 6d 61 63 73 20 61 6e |Suspend |Emacs an|
|000009b0| 64 20 72 65 73 74 61 72 | 74 20 61 20 77 61 69 74 |d restar|t a wait|
|000009c0| 69 6e 67 20 4c 69 73 70 | 20 6a 6f 62 2e 1f 0a 28 |ing Lisp| job...(|
|000009d0| 64 65 66 61 6c 69 61 73 | 20 27 6c 65 64 69 74 2d |defalias| 'ledit-|
|000009e0| 67 6f 2d 74 6f 2d 6c 69 | 73 70 20 23 5b 6e 69 6c |go-to-li|sp #[nil|
|000009f0| 20 22 08 ab 83 c1 20 88 | c2 0b 21 ab 91 8a 0b 71 | ".... .|..!....q|
|00000a00| 88 65 62 88 c4 65 64 0d | 23 88 c6 20 88 29 c7 0e |.eb..ed.|#.. .)..|
|00000a10| 08 21 88 c9 0e 5c 6e cb | 89 23 87 22 20 5b 6c 65 |.!...\n.|.#." [le|
|00000a20| 64 69 74 2d 73 61 76 65 | 2d 66 69 6c 65 73 20 73 |dit-save|-files s|
|00000a30| 61 76 65 2d 73 6f 6d 65 | 2d 62 75 66 66 65 72 73 |ave-some|-buffers|
|00000a40| 20 67 65 74 2d 62 75 66 | 66 65 72 20 6c 65 64 69 | get-buf|fer ledi|
|00000a50| 74 2d 62 75 66 66 65 72 | 20 77 72 69 74 65 2d 72 |t-buffer| write-r|
|00000a60| 65 67 69 6f 6e 20 6c 65 | 64 69 74 2d 7a 61 70 2d |egion le|dit-zap-|
|00000a70| 66 69 6c 65 20 65 72 61 | 73 65 2d 62 75 66 66 65 |file era|se-buffe|
|00000a80| 72 20 73 75 73 70 65 6e | 64 2d 65 6d 61 63 73 20 |r suspen|d-emacs |
|00000a90| 6c 65 64 69 74 2d 67 6f | 2d 74 6f 2d 6c 69 73 70 |ledit-go|-to-lisp|
|00000aa0| 2d 73 74 72 69 6e 67 20 | 6c 6f 61 64 20 6c 65 64 |-string |load led|
|00000ab0| 69 74 2d 72 65 61 64 2d | 66 69 6c 65 20 74 5d 20 |it-read-|file t] |
|00000ac0| 34 20 28 23 24 20 2e 20 | 32 34 36 34 29 20 6e 69 |4 (#$ . |2464) ni|
|00000ad0| 6c 5d 29 0a 23 40 34 38 | 20 53 75 73 70 65 6e 64 |l]).#@48| Suspend|
|00000ae0| 20 45 6d 61 63 73 20 61 | 6e 64 20 72 65 73 74 61 | Emacs a|nd resta|
|00000af0| 72 74 20 61 20 77 61 69 | 74 69 6e 67 20 4c 69 73 |rt a wai|ting Lis|
|00000b00| 7a 74 20 6a 6f 62 2e 1f | 0a 28 64 65 66 61 6c 69 |zt job..|.(defali|
|00000b10| 61 73 20 27 6c 65 64 69 | 74 2d 67 6f 2d 74 6f 2d |as 'ledi|t-go-to-|
|00000b20| 6c 69 73 7a 74 20 23 5b | 6e 69 6c 20 22 08 ab 83 |liszt #[|nil "...|
|00000b30| c1 20 88 c2 0b 21 ab 95 | 8a 0b 71 88 65 62 88 c4 |. ...!..|..q.eb..|
|00000b40| 63 88 c5 65 64 0e 06 23 | 88 c7 20 88 29 c8 0e 09 |c..ed..#|.. .)...|
|00000b50| 21 88 ca 0e 0b cc 89 23 | 87 22 20 5b 6c 65 64 69 |!......#|." [ledi|
|00000b60| 74 2d 73 61 76 65 2d 66 | 69 6c 65 73 20 73 61 76 |t-save-f|iles sav|
|00000b70| 65 2d 73 6f 6d 65 2d 62 | 75 66 66 65 72 73 20 67 |e-some-b|uffers g|
|00000b80| 65 74 2d 62 75 66 66 65 | 72 20 6c 65 64 69 74 2d |et-buffe|r ledit-|
|00000b90| 62 75 66 66 65 72 20 22 | 28 64 65 63 6c 61 72 65 |buffer "|(declare|
|00000ba0| 20 28 6d 61 63 72 6f 73 | 20 74 29 29 5c 6e 22 20 | (macros| t))\n" |
|00000bb0| 77 72 69 74 65 2d 72 65 | 67 69 6f 6e 20 6c 65 64 |write-re|gion led|
|00000bc0| 69 74 2d 63 6f 6d 70 69 | 6c 65 2d 66 69 6c 65 20 |it-compi|le-file |
|00000bd0| 65 72 61 73 65 2d 62 75 | 66 66 65 72 20 73 75 73 |erase-bu|ffer sus|
|00000be0| 70 65 6e 64 2d 65 6d 61 | 63 73 20 6c 65 64 69 74 |pend-ema|cs ledit|
|00000bf0| 2d 67 6f 2d 74 6f 2d 6c | 69 73 7a 74 2d 73 74 72 |-go-to-l|iszt-str|
|00000c00| 69 6e 67 20 6c 6f 61 64 | 20 6c 65 64 69 74 2d 72 |ing load| ledit-r|
|00000c10| 65 61 64 2d 66 69 6c 65 | 20 74 5d 20 34 20 28 23 |ead-file| t] 4 (#|
|00000c20| 24 20 2e 20 32 37 37 37 | 29 20 6e 69 6c 5d 29 0a |$ . 2777|) nil]).|
|00000c30| 23 40 35 31 20 53 65 74 | 20 75 70 20 6b 65 79 20 |#@51 Set| up key |
|00000c40| 62 69 6e 64 69 6e 67 73 | 20 66 6f 72 20 74 68 65 |bindings| for the|
|00000c50| 20 4c 69 73 70 2f 45 6d | 61 63 73 20 69 6e 74 65 | Lisp/Em|acs inte|
|00000c60| 72 66 61 63 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 |rface...|(defalia|
|00000c70| 73 20 27 6c 65 64 69 74 | 2d 73 65 74 75 70 20 23 |s 'ledit|-setup #|
|00000c80| 5b 6e 69 6c 20 22 08 ac | 85 c1 20 5c 6e a4 10 c3 |[nil "..|.. \n...|
|00000c90| 08 c4 c5 23 88 c3 08 c6 | c7 23 88 c3 08 c8 c9 23 |...#....|.#.....#|
|00000ca0| 88 c3 08 ca cb 23 87 22 | 20 5b 6c 65 64 69 74 2d |.....#."| [ledit-|
|00000cb0| 6d 6f 64 65 2d 6d 61 70 | 20 6d 61 6b 65 2d 73 70 |mode-map| make-sp|
|00000cc0| 61 72 73 65 2d 6b 65 79 | 6d 61 70 20 73 68 61 72 |arse-key|map shar|
|00000cd0| 65 64 2d 6c 69 73 70 2d | 6d 6f 64 65 2d 6d 61 70 |ed-lisp-|mode-map|
|00000ce0| 20 64 65 66 69 6e 65 2d | 6b 65 79 20 22 1b 04 22 | define-|key ".."|
|00000cf0| 20 6c 65 64 69 74 2d 73 | 61 76 65 2d 64 65 66 75 | ledit-s|ave-defu|
|00000d00| 6e 20 22 1b 12 22 20 6c | 65 64 69 74 2d 73 61 76 |n ".." l|edit-sav|
|00000d10| 65 2d 72 65 67 69 6f 6e | 20 22 18 7a 22 20 6c 65 |e-region| ".z" le|
|00000d20| 64 69 74 2d 67 6f 2d 74 | 6f 2d 6c 69 73 70 20 22 |dit-go-t|o-lisp "|
|00000d30| 1b 03 22 20 6c 65 64 69 | 74 2d 67 6f 2d 74 6f 2d |.." ledi|t-go-to-|
|00000d40| 6c 69 73 7a 74 5d 20 34 | 20 28 23 24 20 2e 20 33 |liszt] 4| (#$ . 3|
|00000d50| 31 32 35 29 5d 29 0a 28 | 6c 65 64 69 74 2d 73 65 |125)]).(|ledit-se|
|00000d60| 74 75 70 29 0a 23 40 35 | 37 37 20 5c 3c 6c 65 64 |tup).#@5|77 \<led|
|00000d70| 69 74 2d 6d 6f 64 65 2d | 6d 61 70 3e 4d 61 6a 6f |it-mode-|map>Majo|
|00000d80| 72 20 6d 6f 64 65 20 66 | 6f 72 20 65 64 69 74 69 |r mode f|or editi|
|00000d90| 6e 67 20 74 65 78 74 20 | 61 6e 64 20 73 74 75 66 |ng text |and stuf|
|00000da0| 66 69 6e 67 20 69 74 20 | 74 6f 20 61 20 4c 69 73 |fing it |to a Lis|
|00000db0| 70 20 6a 6f 62 2e 0a 4c | 69 6b 65 20 4c 69 73 70 |p job..L|ike Lisp|
|00000dc0| 20 6d 6f 64 65 2c 20 70 | 6c 75 73 20 74 68 65 73 | mode, p|lus thes|
|00000dd0| 65 20 73 70 65 63 69 61 | 6c 20 63 6f 6d 6d 61 6e |e specia|l comman|
|00000de0| 64 73 3a 0a 20 20 5c 5b | 6c 65 64 69 74 2d 73 61 |ds:. \[|ledit-sa|
|00000df0| 76 65 2d 64 65 66 75 6e | 5d 09 2d 2d 20 72 65 63 |ve-defun|].-- rec|
|00000e00| 6f 72 64 20 64 65 66 75 | 6e 20 61 74 20 6f 72 20 |ord defu|n at or |
|00000e10| 61 66 74 65 72 20 70 6f | 69 6e 74 0a 09 20 20 20 |after po|int.. |
|00000e20| 66 6f 72 20 6c 61 74 65 | 72 20 74 72 61 6e 73 6d |for late|r transm|
|00000e30| 69 73 73 69 6f 6e 20 74 | 6f 20 4c 69 73 70 20 6a |ission t|o Lisp j|
|00000e40| 6f 62 2e 0a 20 20 5c 5b | 6c 65 64 69 74 2d 73 61 |ob.. \[|ledit-sa|
|00000e50| 76 65 2d 72 65 67 69 6f | 6e 5d 20 2d 2d 20 72 65 |ve-regio|n] -- re|
|00000e60| 63 6f 72 64 20 72 65 67 | 69 6f 6e 20 66 6f 72 20 |cord reg|ion for |
|00000e70| 6c 61 74 65 72 20 74 72 | 61 6e 73 6d 69 73 73 69 |later tr|ansmissi|
|00000e80| 6f 6e 20 74 6f 20 4c 69 | 73 70 20 6a 6f 62 2e 0a |on to Li|sp job..|
|00000e90| 20 20 5c 5b 6c 65 64 69 | 74 2d 67 6f 2d 74 6f 2d | \[ledi|t-go-to-|
|00000ea0| 6c 69 73 70 5d 20 2d 2d | 20 74 72 61 6e 73 66 65 |lisp] --| transfe|
|00000eb0| 72 20 74 6f 20 4c 69 73 | 70 20 6a 6f 62 20 61 6e |r to Lis|p job an|
|00000ec0| 64 20 74 72 61 6e 73 6d | 69 74 20 73 61 76 65 64 |d transm|it saved|
|00000ed0| 20 74 65 78 74 2e 0a 20 | 20 5c 5b 6c 65 64 69 74 | text.. | \[ledit|
|00000ee0| 2d 67 6f 2d 74 6f 2d 6c | 69 73 7a 74 5d 20 2d 2d |-go-to-l|iszt] --|
|00000ef0| 20 74 72 61 6e 73 66 65 | 72 20 74 6f 20 4c 69 73 | transfe|r to Lis|
|00000f00| 7a 74 20 28 4c 69 73 70 | 20 63 6f 6d 70 69 6c 65 |zt (Lisp| compile|
|00000f10| 72 29 20 6a 6f 62 0a 09 | 20 20 20 61 6e 64 20 74 |r) job..| and t|
|00000f20| 72 61 6e 73 6d 69 74 20 | 73 61 76 65 64 20 74 65 |ransmit |saved te|
|00000f30| 78 74 2e 0a 5c 7b 6c 65 | 64 69 74 2d 6d 6f 64 65 |xt..\{le|dit-mode|
|00000f40| 2d 6d 61 70 7d 0a 54 6f | 20 6d 61 6b 65 20 4c 69 |-map}.To| make Li|
|00000f50| 73 70 20 6d 6f 64 65 20 | 61 75 74 6f 6d 61 74 69 |sp mode |automati|
|00000f60| 63 61 6c 6c 79 20 63 68 | 61 6e 67 65 20 74 6f 20 |cally ch|ange to |
|00000f70| 4c 65 64 69 74 20 6d 6f | 64 65 2c 0a 64 6f 20 28 |Ledit mo|de,.do (|
|00000f80| 73 65 74 71 20 6c 69 73 | 70 2d 6d 6f 64 65 2d 68 |setq lis|p-mode-h|
|00000f90| 6f 6f 6b 20 27 6c 65 64 | 69 74 2d 66 72 6f 6d 2d |ook 'led|it-from-|
|00000fa0| 6c 69 73 70 2d 6d 6f 64 | 65 29 1f 0a 28 64 65 66 |lisp-mod|e)..(def|
|00000fb0| 61 6c 69 61 73 20 27 6c | 65 64 69 74 2d 6d 6f 64 |alias 'l|edit-mod|
|00000fc0| 65 20 23 5b 6e 69 6c 20 | 22 c0 20 88 c1 20 87 22 |e #[nil |". .. ."|
|00000fd0| 20 5b 6c 69 73 70 2d 6d | 6f 64 65 20 6c 65 64 69 | [lisp-m|ode ledi|
|00000fe0| 74 2d 66 72 6f 6d 2d 6c | 69 73 70 2d 6d 6f 64 65 |t-from-l|isp-mode|
|00000ff0| 5d 20 31 20 28 23 24 20 | 2e 20 33 34 33 35 29 20 |] 1 (#$ |. 3435) |
|00001000| 6e 69 6c 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |nil]).(d|efalias |
|00001010| 27 6c 65 64 69 74 2d 66 | 72 6f 6d 2d 6c 69 73 70 |'ledit-f|rom-lisp|
|00001020| 2d 6d 6f 64 65 20 23 5b | 6e 69 6c 20 22 c0 09 21 |-mode #[|nil "..!|
|00001030| 88 c2 13 c4 15 c6 c7 21 | 87 22 20 5b 75 73 65 2d |.......!|." [use-|
|00001040| 6c 6f 63 61 6c 2d 6d 61 | 70 20 6c 65 64 69 74 2d |local-ma|p ledit-|
|00001050| 6d 6f 64 65 2d 6d 61 70 | 20 22 4c 65 64 69 74 22 |mode-map| "Ledit"|
|00001060| 20 6d 6f 64 65 2d 6e 61 | 6d 65 20 6c 65 64 69 74 | mode-na|me ledit|
|00001070| 2d 6d 6f 64 65 20 6d 61 | 6a 6f 72 2d 6d 6f 64 65 |-mode ma|jor-mode|
|00001080| 20 72 75 6e 2d 68 6f 6f | 6b 73 20 6c 65 64 69 74 | run-hoo|ks ledit|
|00001090| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 5d 20 32 5d 29 0a |-mode-ho|ok] 2]).|
+--------+-------------------------+-------------------------+--------+--------+